package com.johnzer.frame.network.exception;

/**
 * Created by 11278 on 2017/3/21.
 */

public class ServerResultException extends RuntimeException {

    private int code;

    public ServerResultException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}